import instance from "@/utils/request";
export const doRegister=(data)=>instance.post("/api/user/reg",data)
export const doCheckphone=(data)=>instance.post("/api/user/docheckphone",data);
export const doSendmsgcode=(data)=>instance.post("/api/user/dosendmsgcode",data)
export const doCheckcode=(data)=>instance.post("/api/user/docheckcode",data);
export const dologin=(data)=>instance.post("/api/user/login",data)
//api向后端请求数据